﻿@model Mestedur.ViewModels.QuestionViewModel
@{
    ViewBag.Title = "GetTest";
    Layout = "~/Views/Shared/_Layout.cshtml";
    }

<div class="text"> 
<h3>Тест</h3>
<div class ="align_center">
    <div class ="align_to_left">  
            <form action="/Education/AcceptAnswer">
            <div class ="align_to_right"> 
                <div class ="mainframe">
                <h2>@Html.LabelFor(x => x.Text):</h2>
                    <div class ="frameofquastion">
                        <div class ="textofquastion">
                            @Html.DisplayTextFor(x => x.Text)
                        </div>
                    </div>
                    <div class ="frameofimage">
                    </div>
                <h2>@Html.LabelFor(x => x.Answers):</h2>
                    <div class ="frameofanswer">
                        <div class ="textofanswer">
                         @foreach (var item in Model.Answers)
                         {
                             <p><input type="checkbox" name="option1" value="@item.id"/>@item.Text</p>
                         }
                        </div>
                    </div>
        
                    <div class ="button">
                        <input type="button" value="Принять ответ">
                    </div>
            
            </div>
        </div>
        </form>
         </div>
    </div>
</div>